/*
 * @Author: 吴思浪
 * @Date: 2021-12-12 11:01:26
 * @LastEditors: 黄宇/Hyuishine
 * @LastEditTime: 2022-09-07 20:33:14
 * @Description: 
 * @Company: 3xData
 * @youWant: add you want
 */
import { getSocialUnit, socialUnit_from } from '@/api/socialUnit.js'


const socialUnit = {

    actions: {
        getSocialUnit ({ commit }, obj) {
            return new Promise((resolve, reject) => {
                getSocialUnit(obj, function (data) {
                    resolve(data)
                })
            })
        },

        socialUnit_from ({ commit }, obj) {
            return new Promise((resolve, reject) => {
                socialUnit_from(obj, function (data) {
                    resolve(data)
                })
            })
        }
    }
}

export default socialUnit